package cn.buk.tms.hotel.dto;

/**
 * @author yfdai
 */
public class HotelRatePlanCancelPolicyDto {

  /**
   * 是否可以取消
   */
  private boolean canCancel;

  /**
   * 最晚取消天数
   * 前几天
   */
  private int lastDate;

  /**
   * 取消时间点
   * 几点(0-24)
   */
  private int lastTime;

  /**
   * 扣款规则扣款规则 (0不扣款、 1-扣全款,2扣首晚、3扣除房费百分比
   */
  private int deductType;

  /**
   * 扣款百分比
   * 1-99正式
   * 应该是整型
   */
  private int deductProportion;

  public boolean isCanCancel() {
    return canCancel;
  }

  public void setCanCancel(boolean canCancel) {
    this.canCancel = canCancel;
  }

  public int getLastDate() {
    return lastDate;
  }

  public void setLastDate(int lastDate) {
    this.lastDate = lastDate;
  }

  public int getLastTime() {
    return lastTime;
  }

  public void setLastTime(int lastTime) {
    this.lastTime = lastTime;
  }

  public int getDeductType() {
    return deductType;
  }

  public void setDeductType(int deductType) {
    this.deductType = deductType;
  }

  public int getDeductProportion() {
    return deductProportion;
  }

  public void setDeductProportion(int deductProportion) {
    this.deductProportion = deductProportion;
  }
}
